const gulp = require("gulp");
const gulp_uglify = require("gulp-uglify");
const gulp_minify_css = require('gulp-minify-css');
const gulp_imagemin = require('gulp-imagemin');

// gulp.task("gulp_uglify",function(){
// 	gulp.src("js/**/*").pipe(gulp_uglify()).pipe(gulp.dest("d:/feike"));
// });
// gulp.task("gulp_uglify",function(){
// 	gulp.src("js/banner.js").pipe(gulp_uglify()).pipe(gulp.dest("d:/feike"));
// });
// gulp.task("gulp_uglify",function(){
// 	gulp.src("css/car.css").pipe(gulp-minify-css()).pipe(gulp.dest("d:/feike"));
// });

gulp.task("_minCss",function(){
	gulp.src("css/reset.css").pipe(gulp_minify_css()).pipe(gulp.dest("d:/feike"));
});

gulp.task("_imgmin",function(){
	gulp.src("img/**/*").pipe(gulp_imagemin()).pipe(gulp.dest("d:/feike"));
});